package work30;
import java.util.Scanner;

public class HomeWork1 {
	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		System.out.print("小明期末考试的成绩为：");
		if (input.hasNextInt()==true) {
			float score=input.nextFloat();
			if (score>90) {
				System.out.println("爸爸带小明去欧洲旅游！");
			}else {
				System.out.println("在家继续努力学习！");
			}
		}else {
			System.out.println("输入的成绩有误！");
		}
	}
}
